package com.xxwy.ddu.security.code.properties;

import lombok.Data;

/**
 * @author xxwy
 * on 2018/8/30 0030
 */
@Data
public class OAuth2ClientProperties {

    private String clientId;
    private String clientSecret;
    private String[] authorizedGrantTypes = {}; //此客户端可以使用的授权类型
    private int accessTokenValiditySeconds = 7200; // token有效期
    private int refreshTokenValiditySeconds = 7200; //刷新token有效期
}
